home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.12 Dec 96 / Custom AppMaker 2 / CSoundAttachment / CSoundAttachment.h < prev   
Encoding:
Text File  |  1996-01-12  |  1.3 KB  |  34 lines  |  [TEXT/BROW]

  1. // ===========================================================================
  2. //    USoundPlayer.h                    © 1995, Éric Forget. All rights reserved.
  3. // ===========================================================================
  4. //    
  5. //    ************************************************************************
  6. //    *                                                                      *
  7. //    *    Before using this code you should read the "License Agreement"     *
  8. //    *    document and agree with it.                                        *
  9. //    *                                                                      *
  10. //    ************************************************************************
  11. //
  12. //    Instruction and usage notes are in the USoundPlayer.cp file.
  13. //
  14. // ---------------------------------------------------------------------------
  15.  
  16.  
  17. #pragma once
  18.  
  19. #include <LAttachment.h>
  20.  
  21. // ===========================================================================
  22. // • CSoundAttachment                                         CSoundAttachment •
  23. // ===========================================================================
  24. class    CSoundAttachment : public LAttachment {
  25. public:
  26.             CSoundAttachment(const char*    inSoundName,
  27.                             MessageT inMessage = msg_AnyMessage,
  28.                             Boolean inExecuteHost = true);
  29. protected:
  30.     virtual void    ExecuteSelf(MessageT inMessage, void *ioParam);
  31. // data storage
  32.     Str255    mSoundName;
  33. };
  34.